package com.fourinone.core;

import java.io.File;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;

/**
 * @Description
 * @auther Szper
 * @create 2019-10-17 09:29
 */
public class FileAdapter extends File {
    private RandomAccessFile raf = null;
    private FileChannel fc = null;
    private ByteBuffer mbread=null,mbwrite=null;
    public static final short[] ConstBit = new short[]{0<<1,1<<1,1<<2,1<<3,3<<1,5<<1,6<<1,7<<1,1<<0,8<<1};//2017.10
    public FileAdapter(String filePath)
    {
        super(filePath);
        //fl = new File(filePath);
    }

    public FileAdapter(String parentPath, String filePath)
    {
        super(parentPath, filePath);
        //fl = parentPath!=null?new File(parentPath, filePath):new File(filePath);
    }
}

